<% content_for :navigation do %>
  <% render :layout => "layouts/main_navigation" do %>
    <%= render :partial => "layouts/navigation/current_house_item", :locals => {:classes => "selected tab-separator",
                            :house => @house, :user => @user} %>
    <%= render :partial => "layouts/navigation/devices_item", :locals => {:classes => "tab-separator", :house => @house, :user => @user} %>
  <% end %>
<% end %>


<% content_for :sub_navigation do %>
  <div id="sub-tabs">
    <ul>
        <%= render :partial => "layouts/navigation/edit_user_house_item", :locals => {:house => @house, :user => @user} %>
    </ul>
  </div>
<% end %>